package com.hbut.common.core.constants;

public class CacheConstants {
    public static final String LOGIN_TOKEN_KEY = "login_token";
    public static final Long EXP = 720L;

    public static final Long REFRESH_TIME = 120L;
    public static final String PHONE_CODE_KEY = "p:c:";
    public static final String CODE_TIME_KEY = "t:c:";
    public static final String EXAM_UNFINISHED_LIST = "e:t:l:"; // 未完成竞赛列表
    public static final String EXAM_HISTORY_LIST = "e:h:l:";   // 历史竞赛列表
    public static final String EXAM_DETAIL = "e:d:" ;  // 竞赛详情
    public static final String EXAM_NOT_STARTED_LIST = "e:n:l:";
    public static final String USER_EXAM_LIST = "u:e:l:";  // 用户竞赛列表

    public static final String USER_DETAIL = "u:d:"; // 用户详情
    public static final long USER_EXP = 10L;
}

